<?php
$strPageTitle = "Setup Page";
include("../qcubed.inc.php");
include(__APPS_INCLUDE__."/header.inc.php");
?>

	<div id="titleBar">
		<h2>CRM Setup</h2>

 
            <h3 id="right"><a href="<?php _p(__SETTINGS__) ?>">&laquo; <?php _t('Go to "Settings"'); ?></a></h3>

	</div>


<?php
        //print_dir();
        print ("<table border='0' width=\"100%\" cellpadding=\"10\">");
        echo "<tr>";
        $i=0;
        foreach( $menu['Settings']['sub']['Setup']['sub'] as $key => $menuitem){
            if ($i==5){
                echo "</tr><tr>";
                $i=0;
            }
            print "<td>";
                printf('<a href="%s"> <h3>%s</h3><img src="%s" alt="%s Image"/></a>',
                                $menuitem['config']['path'],QApplication::Translate($key),$menuitem['config']['image'],$menuitem['config']['image']
                      );
            print "</td>";
            $i++;

        }
        echo "</tr>";
        print("</table>");

?>
